/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.epos.qkorder.event;

import com.openbravo.bean.erp.Order;
import java.util.EventObject;

/**
 *
 * @author Administrator
 */
public class OrderChangedEvent extends EventObject{
    boolean editAble;
    public OrderChangedEvent(Order source,boolean editable) {
        super(source);
        editAble=editable;
    }

    public Order getOrder(){
        return (Order)source;
    }

    public boolean isEditAble() {
        return editAble;
    }
}
